<?php if($session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'admin' || $session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'manag'){?>
<?php $this->Footpanel->install();?>
<div id="footpanel">
	<ul>
		<li><?php echo $this->Html->link(__('Posts', true).'<small>'.__('Posts', true).'</small>', array('plugin'=>'blog','controller'=>'posts','action'=>'index',0),array('escape'=>false,'class'=>'home')); ?></li>
		
		<?php echo $this->element("toolbar_actions_{$toolbar}",array('plugin'=>'blog'))?>
		
		<li><?php echo $this->Html->link('', '',array('escape'=>false,'class'=>'separator')); ?></li>

		
		<li><?php echo $this->Html->link(__('Comments', true).'<small>'.__('Comments', true).'</small>', 
			array('plugin'=>'blog','controller'=>'comments','action'=>'index'),
			array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_group.png)')); ?></li>


	</ul>
</div>
<?php }?>